#author jade zhang
# 8/17 2017

This is a tiny clojure-based project for providing HTTP services and also provides RESTFUL-APIs to the cumstomers who can access the APIs by sending 'GET'-request to the browser.
 
you can run this project and publish it on your private machine, below are the steps.

1. Your private machine'system should be linux, and should have setup jdk.
   if not:
   please visit java download page(http://www.oracle.com/technetwork/indexes/downloads/index.html#java) for instructions on downloading and installing the jdk. 
   
2. when you have installed jdk, you also need to visit Leiningen's website(https://leiningen.org/) and follow its installation tutorial for setup Leiningen to your system.
   type 'lein --version' on your cmd-line, if receive strings like 'Leiningen 2.7.1 on Java 1.8.0_131 Java HotSpot(TM) 64-Bit Server VM', it means you have successfully installed Leiningen.
  
3. GIT this project ,and the main-directory should be 'restfulclojure'.
   a. $ cd restfulclojure/
   b. $ lein run
   c. then you can use web-browser to access "http://localhost:3000/" or "http://yourip:3000/" from the other clients.
   
4. 	when you want to get memoryinfo ,you can type "http://localhost:3000/mem/"
	when you want to get diskinfo ,you can type "http://localhost:3000/disk/"
	when you want to get cpuinfo ,you can type "http://localhost:3000/cpu/"
	


